<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
	String path = request.getContextPath();
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Yonyou NC 专家在线评分室</title>
<script type="text/javascript" src="<%=path%>/js/jquery-1.4.4.js"></script>
<script type="text/javascript" src="<%=path%>/js/dialog.js"></script>
<link href="<%=path%>/css/expmaster.css" rel="stylesheet" type="text/css">
<link href="<%=path%>/css/expstyle.css" rel="stylesheet" type="text/css">
<link href="<%=path%>/css/dialog.css" rel="stylesheet" type="text/css">
<script type="text/javascript">	
function loginSubmit(){
	document.form1.submit();
}

jQuery(document).ready(
	function(){        		      		
		jQuery("#codeimageid").click(
			function() 
			{        	
				//加一个不同的参数导致URL地址不同，才会重新发起请求
				jQuery("#codeimageid").attr("src","randomcode?num="+new Date().getTime());
			}
		);   
	}   
)
</script>
</head>

<body>
<form name="form1" action="<%=path%>/expeval/loginsubmit" method="post">
<div class="lobg">
	<div class="lobg_in">
		<ul>
			<li class="fl">用户名</li>
			<li class="fr"><input name="userName" type="text" value="${userName}"/></li>
			<div class="clear"></div>
		</ul>
		<ul>
			<li class="fl">密&nbsp;&nbsp;码</li>
			<li class="fr"><input name="userPwd" type="password" value="${userPwd}"/></li>
			<div class="clear"></div>
		</ul>
		<ul>
			<li class="fl">验证码</li>
			<li class="fr"><input name="randomCode" type="text" />&nbsp;&nbsp;<img id="codeimageid" class="evalcodeimg" src="randomcode" alt="" /></li>
			<div class="clear"></div>
		</ul>
		<ul>
			<li><c:out value="${ERROR_MESSAGE}"></c:out></li>
			<div class="clear"></div>
		</ul>
		<center><input type="submit" class="logbutton" value="" tabindex="4"/></center>
		<p>Copyright 2008-2009 Yonyou Software CO.LTD all rights reserved</p>
	</div>
</div>
</form>
</body>
</html>